package cn.wolfcode.mapper;

import cn.wolfcode.domian.Result;
import cn.wolfcode.domian.emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface empMapper {
    List<emp> list(@Param("name") String name, @Param("gender") Integer gender, @Param("begin") Date begin, @Param("end") Date end);


    void delete(List<Long> ids);

    void add(emp emp);

    emp getById(Long id);

    void update(emp emp);

    emp login(emp emp);
}
